package com.amway.qy.message.req;

import com.amway.qy.core.constants.ReqMsgType;

public class ReqVoiceMessage extends ReqBaseMessage {
	private String MediaId;//	语音媒体文件id，可以调用获取媒体文件接口拉取数据
	private String Format;//	语音格式，如amr，speex等
	
	public ReqVoiceMessage(){
		super();
		setMsgType(ReqMsgType.REQ_MESSAGE_TYPE_VOICE);
	}
	
	
	public String getMediaId() {
		return MediaId;
	}
	public void setMediaId(String mediaId) {
		MediaId = mediaId;
	}
	public String getFormat() {
		return Format;
	}
	public void setFormat(String format) {
		Format = format;
	}


	@Override
	public String toString() {
		return "ReqVoiceMessage [MediaId=" + MediaId + ", Format=" + Format + ", ToUserName=" + ToUserName
				+ ", FromUserName=" + FromUserName + ", CreateTime=" + CreateTime + ", MsgType=" + MsgType + ", MsgId="
				+ MsgId + ", AgentID=" + AgentID + "]";
	}
	
	
}
